Skip to content

idna: AGENTS.md sends the reader to the superproject's coding guidelines - #2

Merged
pinhopro merged 2 commits into
mainfrom
coding-guidelines
Oct 28, 2026
Merged

pinhopro merged 2 commits into
mainfrom
coding-guidelines

Conversation

@pinhopro

@pinhopro pinhopro commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Part of the organization's proposal coding-guidelines (webcpporg/proposals, organization/openspec/changes/coding-guidelines), accepted on 2026-10-26: the superproject's rules and design decisions now live in CODING-GUIDELINES.md, whose chapter 15 gives this library's decisions with their reasons, and its AGENTS.md says how to work in the tree. This library's AGENTS.md now sends the reader to both.

It also fixes what the CI found, which predates this change: two generators filling one Unicode cache at once (the generated lane under b2 -j on a fresh runner) wrote the same <file>.partial, so the second rename failed with No such file or directory. Calling write() from eight processes on one path failed 1,200 of 1,600 writes before and none after: each writer's partial file now has a name of its own. Locally the lane passes with a warm cache, its output unchanged, and with an empty one under -j4. idna's generator writes into the same cache as lexical's.

🤖 Generated with Claude Code

R added 2 commits October 26, 2026 11:41
The superproject's rules and design decisions moved to CODING-GUIDELINES.md,
whose chapter 15 gives this library's decisions with their reasons; its
AGENTS.md says how to work in the tree. Both are read before this file.
… its own

Two generators that fill one cache at once, as the generated lane's
tables and patterns do under b2 -j on a fresh CI runner, both downloaded a
missing file and wrote it through the same <file>.partial, so the second
rename found nothing: lexical's lane failed on
'No such file or directory: ...DerivedCoreProperties.txt.partial'.
Reproduced by calling write() from eight processes on one path: 1,200 of
1,600 writes failed before, none after. Each writer's partial file now has
a name of its own, removed if the write fails, and the last rename wins
with the same checked bytes.
@pinhopro
pinhopro merged commit 2250caa into main Oct 28, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant